<?php 

include "../onderdelen/connect.php"; //verbinding maken

function show_pictures(){
	$query = "SELECT * FROM `foto` LIMIT 0, 10";
	//query is aangemaakt
	$sql = mysql_query($query) or die ( mysql_error( ) );
	//query is uitgevoerd
	
	while($record = mysql_fetch_object($sql)){
		echo '<img src="http://www.chiroelzestraat.be/'.$record->directory.'"/>';
	}
}
?>

<!--<link href="../../js/rambling-slider/assets/stylesheets/rambling-slider.css" rel="stylesheet" type="text/css" media="all" />
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js" type="text/javascript"></script>
<script type="text/javascript" src="../../js/rambling-slider/lib/jquery.rambling.slider.min.js"></script>
 
<div class="slider-wrapper theme-default">
<div class="ribbon"/></div>
 <div id="slider" class="ramblingSlider adaptingSlider" style="width:600px;height:400px;">
		<?php 
			show_pictures();
		 ?>
	</div>
</div>-->
<iframe src="http://www.chiroelzestraat.be/archief/" frameborder="0" style="height:800px; width:1000px;"></iframe>
<script type="text/javascript">
    $(window).ready(function() {
        $('#slider').ramblingSlider({
				controlNav: false        	
        	});
    });
</script>